<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box">
        <div v-for="(item,index) in name">
            {{index+1}}--->{{item}}
        </div>
        <div v-for="(key,value) in obj">
            {{key}}--->{{value}}
        </div>


    </div>


</body>
<script src="https://cdn.bootcss.com/vue/2.6.11/vue.js"></script>
<script>
    const app = new Vue({
        el: '.box',
        data: {
            name: ['why', 'kobe', 'adws', 'bals'],
            obj: {
                name: 'hxh',
                age: 15
            },
        },
    })
</script>

</html>